﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using log4net;

namespace LogTest
{
    class Program
    {
        private static readonly ILog log = LogManager.GetLogger("loginfo");

        static void Main(string[] args)
        {
            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("this is :" + i);
                log.Info("this is :"+i);
                Thread.Sleep(1000);
            }
            

        }
    }
}
